package com.ruoyi.common.core.domain.heytalk;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.constant.heytalk.CommonConstants;
import com.ruoyi.common.core.domain.heytalk.base.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 朋友信息对象 im_friend
 * 
 * @author ruoyi
 * @since 2021-10-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
@EqualsAndHashCode(callSuper = true)
@TableName("im_friend")
public class ImFriend extends BaseDO
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private String userId;

    /** 好友id */
    private String friendId;

    /** 备注昵称 */
    private String nickRemark;

    /**
     * 备注昵称拼音
     */
    private String nickRemarkPinYin;

    /**
     * 备注昵称首字母（大写,获取不到时默认#号）
     */
    private String nickRemarkInitial;

    /** 头像地址 */
    private String avatar;

    /**
     * 看我
     * {@link CommonConstants.LookMeEnum}
     */
    private Integer lookMe;

    /**
     * 看他
     * {@link CommonConstants.LookHimEnum}
     */
    private Integer lookHim;

    /**
     * 是否为星标朋友
     * {@link CommonConstants.StarEnum}
     */
    private Integer star;

    /**
     * 是否加入黑名单
     * {@link CommonConstants.IsBlackEnum}
     */
    private Integer isBlack;

}
